
package org.springxrsk.modules.schedule.mapper;

import org.springxrsk.modules.schedule.pojo.entity.QyPreBookEntity;
import org.springxrsk.modules.schedule.pojo.vo.QyPreBookVO;
import org.springxrsk.modules.schedule.excel.QyPreBookExcel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 预约 Mapper 接口
 *
 *  @author
 * @since 2024-06-15
 */
public interface QyPreBookMapper extends BaseMapper<QyPreBookEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param qyPreBook
	 * @return
	 */
	List<QyPreBookVO> selectQyPreBookPage(IPage page, QyPreBookVO qyPreBook);


	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<QyPreBookExcel> exportQyPreBook(@Param("ew") Wrapper<QyPreBookEntity> queryWrapper);

}
